SureMails\Inc\Controller\ContentGuard S

Total Complexity 48
Dependencies 5
Dependents 3
Total lines 365
Lines of code 207
Logical lines of code 114
Comment lines 103
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
handle_content_guard_response()
A
37 10 76
check()
A
49 9 33
find_proper_nouns()
A
53 9 23
validate()
S
57 3 17
check_email_content()
S
58 3 15
add_hash()
S
66 4 8
__construct()
S
69 2 7
get_hash()
S
69 2 7
trim_strings()
S
70 2 6
generate_hash()
S
73 1 5
get_hashes()
S
79 1 3
hash_exists()
S
75 1 4
flush_hashes()
S
79 1 3